package com.easyaop.core.matcher;

import net.bytebuddy.description.method.MethodDescription;
import net.bytebuddy.matcher.ElementMatcher;

public class MethodSignatureElementMatcher implements ElementMatcher<MethodDescription> {
    private MethodDescription methodDescription;

    public MethodSignatureElementMatcher(MethodDescription methodDescription) {
        this.methodDescription = methodDescription;
    }

    @Override
    public boolean matches(MethodDescription target) {
        return target.equals(methodDescription);
    }
}
